﻿using System.Collections.Generic;

public interface IGameActor
{
    void Awake();
    // IGameComponent AddComponent(IGameComponent component);
    T AddComponent<T>() where T : IGameComponent, new();
    void RemoveComponent(IGameComponent component);
    void RemoveAllComponent();
    T GetComponent<T>() where T : class, IGameComponent;
    void UpdateLogic(float deltaTime);
    void Destroy();
}